home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 15742 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: loki.tor.hookup.net!news
  2. From: Rajendra_Singh@msn.com (Rajendra Singh)
  3. Newsgroups: comp.sys.hp.hpux,comp.lang.c
  4. Subject: Curses Window Question
  5. Date: Sun, 21 Apr 1996 18:20:00 GMT
  6. Organization: HookUp Communication Corporation, Oakville, Ontario, CANADA
  7. Message-ID: <4ldji6$1qh@loki.tor.hookup.net>
  8. NNTP-Posting-Host: u36u400.tor.hookup.net
  9. NNTP-Posting-User: u36u400
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. This is the most appropriate newsgroup that I could think of to post
  13. this query, so please, if it's not totally appropriate for me to post
  14. it here, forgive me.
  15.  
  16. I have an application which is written in C using curses running on
  17. HP/UX v9.07.  I create a window, display some information in the
  18. window, ask the user to press a key, then get rid of the window.  The
  19. problem I'm having is that when the window goes away so does the text
  20. that was below it, i. e. it wipes out what was on stdscr.  How can I
  21. prevent this from happening?
  22.  
  23. To get rid of the window I'm calling:  werase(), wrefresh(), and
  24. delwin() in that order.
  25.  
  26. Thanks in advance.
  27. ---
  28. Rajendra Singh, B. Sc. (Rajendra_Singh@msn.com)
  29. "What is understood need not be discussed." - Loren Adams
  30.  
  31.